﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="ProcessPackageStructure"
    targetNamespace="http://BVMF.Sinacor.Schemas/PackageStructure.xsd"
    elementFormDefault="qualified"
    xmlns="http://BVMF.Sinacor.Schemas/PackageStructure.xsd"
    xmlns:mstns="http://BVMF.Sinacor.Schemas/PackageStructure.xsd"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
  <xs:element name="RootPackage" type ="Package" />
  <xs:complexType name="Package">
    <xs:sequence>
      <xs:element name="Name" type="xs:string" />
      <xs:element name="Fixed" type="xs:boolean" default="true" nillable="true"/>
      <xs:element name="Children">
        <xs:complexType>
          <xs:sequence minOccurs="0" maxOccurs="unbounded">
            <xs:element name="Package" type="Package"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>
